package com.sky.constant;
//redis缓存的字段值
public class RedisConstant {
    //缓存的分类名称
    public static String CACHE_CATEGORY="CACHE:CATEGORY";
    //缓存的菜品名称
    public static String CACHE_EMPLOYEE="CACHE:EMPLOYEE";
    //解决缓存穿透问题 数据查询到数据库时 结果为null 将他缓存起来
    public static String CACHE_NULL="CACHE_NULL";
    public static String CACHE_DISH="CACHE_DISH";

    public static String SETMEAL_NAME="名字已重复 请重试";
    public static String SHOP_STATUS="SHOP_STATUS";
    public static String LOCK_SETNX="LOCK_SETNX";
}
